import { ApiProperty, OmitType, PartialType } from "@nestjs/swagger";
import { CreateTagDto } from "./create-tag.dto";
import { TagType } from "./type.dto";

export class QueryDto extends OmitType(PartialType(CreateTagDto), ['type','description']) {
    @ApiProperty({
        description: '页码',
        example: 1,
    })
    pageNum: number;

    @ApiProperty({
        description: '每页数量',
        example: 10,
    })
    pageSize: number;

    @ApiProperty({
        description: '标签类型',
        example: 'Kit',
    })
    type: TagType;
}